package com.bo.enity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 生产记录对象
 * @Author: outes-boot
 * @Date:   2024-11-26
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="base_ratio_management_detail对象", description="标准配比管理")
public class BaseProductionTask implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
    /**任务号*/
    @Excel(name = "任务号", width = 15)
    @ApiModelProperty(value = "任务号")
    private String orderNo;
	/**配比编号*/
	@Excel(name = "配比编号", width = 15)
    @ApiModelProperty(value = "配比编号")
    private String ratioNo;
    /**砂1*/
    @ApiModelProperty(value = "砂1")
    private String s1;
	/**砂2*/
    @ApiModelProperty(value = "砂2")
    private String s2;
    /**砂3*/
    @ApiModelProperty(value = "砂3")
    private String s3;
	/**水泥1*/
    @ApiModelProperty(value = "水泥1")
    private String s4;
	/**水泥2*/
    @ApiModelProperty(value = "水泥2")
    private String s5;
	/**粉煤灰*/
    @ApiModelProperty(value = "粉煤灰")
    private String s6;
	/**添加剂1*/
    @ApiModelProperty(value = "添加剂1")
    private String s7;
	/**添加剂2*/
    @ApiModelProperty(value = "添加剂2")
    private String s8;
    /**添加剂3*/
    @ApiModelProperty(value = "添加剂3")
    private String s9;
    @Excel(name = "序号", width = 15)
    @ApiModelProperty(value = "序号")
    private Integer sort;
    /**浇注方式*/
    @ApiModelProperty(value = "浇注方式")
    private String pouring;
    /**客户名称*/
    @ApiModelProperty(value = "客户名称")
    private String customerName;
    /**工程名称*/
    @ApiModelProperty(value = "工程名称")
    private String engineeringName;
    /**施工部位*/
    @ApiModelProperty(value = "施工部位")
    private String structuralParts;
    /**砼强度*/
    @ApiModelProperty(value = "砼强度")
    private String mortar;
    /**塌落度*/
    @ApiModelProperty(value = "塌落度")
    private String slump;
    /**车次*/
    @ApiModelProperty(value = "车次")
    private String trainNum;
    /**车数*/
    @ApiModelProperty(value = "车数")
    private String trainVehicles;
    /**方数*/
    @ApiModelProperty(value = "方数")
    private String cubeNumber;
    /**车方量*/
    @ApiModelProperty(value = "车方量")
    private String vehicleQuantity;
    /**车号*/
    @ApiModelProperty(value = "车号")
    private String wagon;
    /**司机*/
    @ApiModelProperty(value = "司机")
    private String driver;
    /**操作员*/
    @ApiModelProperty(value = "操作员")
    private String operator;
    /**流水号*/
    @ApiModelProperty(value = "流水号")
    private String serialNumber;
    /**合同编号*/
    @ApiModelProperty(value = "合同编号")
    private String contractCode;
    /**生产线*/
    @ApiModelProperty(value = "生产线")
    private String productionLine;
    /**标记，是否为历史配比*/
    @Excel(name = "标记", width = 15)
    @ApiModelProperty(value = "标记，是否为历史配比")
    private String status;
	/**操作人*/
    @ApiModelProperty(value = "操作人")
    private String updateBy;
	/**操作时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作时间")
    private Date updateTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**租户号*/
	@Excel(name = "租户号", width = 15)
    @ApiModelProperty(value = "租户号")
    private Integer tenantId;
	/**乐观锁*/
	@Excel(name = "乐观锁", width = 15)
    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer updateCount;
	/**是否删除;0表示未删除,1表示删除*/
	@Excel(name = "是否删除;0表示未删除,1表示删除", width = 15)
    @ApiModelProperty(value = "是否删除;0表示未删除,1表示删除")
    @TableLogic
    private Integer delFlag;
	/**删除人*/
	@Excel(name = "删除人", width = 15)
    @ApiModelProperty(value = "删除人")
    private String deleteBy;
	/**删除时间*/
	@Excel(name = "删除时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "删除时间")
    private Date deleteTime;
}
